]> dgit.raspbian.org Git - gnome-shell.git/commit
calendar: Do not overload :active to mark selected day
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Jul 2016 00:06:31 +0000 (02:06 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 8 Jul 2016 14:11:43 +0000 (16:11 +0200)
commit83471527303891bfa506feb603fb5e904b571e45
tree9213799aed761f17bc04e43b28cf1bded40165b3
parent3d77dd8f5120a2080600e2e5de4a5a52dff1daa5
calendar: Do not overload :active to mark selected day

We currently use the :active pseudo class to mark the selected day
in the calendar. Whenever the selected date changes, the class is
added to the corresponding button and removed from all others.
However when the selected date doesn't change (i.e. when clicking
the already selected date), the buttons are not updated and the
use of the :active class conflicts with StButton's builtin handling
of the class - the class is removed on the button up event and the
button is deselected.
Fix this by simply using a different pseudo class.

https://bugzilla.gnome.org/show_bug.cgi?id=746867
data/theme/gnome-shell-high-contrast.css
data/theme/gnome-shell-sass
data/theme/gnome-shell.css
js/ui/calendar.js